package com.pojo;



/**
 * AbstractCar entity provides the base persistence definition of the Car entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractCar  implements java.io.Serializable {


    // Fields    

     private Integer pid;
     private Long price;
     private Integer num;
     private String total;


    // Constructors

    /** default constructor */
    public AbstractCar() {
    }

	/** minimal constructor */
    public AbstractCar(Integer pid) {
        this.pid = pid;
    }
    
    /** full constructor */
    public AbstractCar(Integer pid, Long price, Integer num, String total) {
        this.pid = pid;
        this.price = price;
        this.num = num;
        this.total = total;
    }

   
    // Property accessors

    public Integer getPid() {
        return this.pid;
    }
    
    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public Long getPrice() {
        return this.price;
    }
    
    public void setPrice(Long price) {
        this.price = price;
    }

    public Integer getNum() {
        return this.num;
    }
    
    public void setNum(Integer num) {
        this.num = num;
    }

    public String getTotal() {
        return this.total;
    }
    
    public void setTotal(String total) {
        this.total = total;
    }
   








}